import { createMemoryHistory, createRouter, createWebHistory } from 'vue-router'

import HomeView from '../components/HelloWorld.vue'
import MediaSimple from '../components/MediaSimple.vue'

const routes = [
    { path: '/', component: HomeView },
    { path: '/media', component: MediaSimple }
]

const router = createRouter({
    history: createWebHistory(),

    routes
})

export default router
